package com.sysware.p2m.service;

import com.sysware.p2m.entity.DataObject;

import java.util.List;

public interface DataService {

    List<DataObject> getDataObjectList(String userId, int pageNum, int pageSize);

    Long getDataObjectListCount(String userId);

    void saveDataObject(List<DataObject> dataObjects);

    void updateDataObject(String[] ids, String statusId);

    void doSomething(String idA, String idB, int num);

    void excuteTransactionTemplate(String idA, String idB, int num);

    void executeTransactionManager(String idA, String idB, int num);
}
